package com.wondertek.service.sdk.iotdh.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class OperateDhReq {
    //设备序列号
    @Schema(name = "deviceSn",description = "设备序列号")
    private String deviceSn;
    //deviceSnap 抓图
    //restartDevice 重启
    //controlMovePTZ 云台移动
    @Schema(name = "operate",description = "deviceSnap 抓图 restartDevice 重启 controlMovePTZ 云台移动")
    private String operate;
    //必填
    @Schema(name = "data",description = "case1: operate 为设备抓图，data :channelId   case2: operate 为重启设备 data数据为null case3:  operate 为云台移动 channelId\tstring\t必填\t\t设备通道号。\n" +
            "operation\tstring\t必填\t\t操作行为 0-上，1-下，2-左，3-右，4-左上，5-左下，6-右上，7-右下，8-放大，9-缩小，10-停止\n" +
            "duration\tnumber\t必填\t\t移动持续时间 单位为毫秒\n" +
            "建议参数：\n" +
            "\"duration\":1000")
    private Object data;
}
